package org.cuatrovientos.empirefleet;

/**
 * Represents a Tie Fighter starfighter
 * @author Sienar Fleet Systems
 * @greets the emperor
 */
public class TieFighter extends SpaceShip {
	// attack range
	int range;
	// Coordinates
	int x;
	int y;
	int z;
	private int bombs;
	private int speed;
	
	/**
	 * constructor
	 * @param pilotName
	 */
	public TieFighter (String pilotName) {
		super(pilotName,0);
	}

	/**
	 * "I'm firing my laser"
	 * @return laser damage depending of type
	 */
	public int fireLaser() {
		/*int damage = 0;
		switch (type) {
			case 0: damage = 1;
					break;
			case 1: damage = 2;
					break;
			case 2: damage = 3;
					break;
			default:damage = 0;
					break;
		}*/
		
		return 1;
	}

	/**
	 * move, more or less depending on type
	 * @return positions
	 */
	public int move() {
		/*int movement = 0;
		switch (type) {
			case 0: movement = 1;
					break;
			case 1: movement = 3;
					break;
			case 2: movement = 2;
					break;
			default:movement = 0;
					break;
		}*/
		
		return 1;
	}
}
